<template>
	 <div class="footer">
	    <div class="foot-con">
	        <div class="foot-left">
				<img width="90" height="90" :src="publicImg|filtersImg" alt="">
				<p>{{publicName}}</p>
	        </div>
	        <div class="foot-category">
	            <div class="foot-category-item">
	                <a class="foot-link-title">关于</a>
	                <a href="#">关于链星</a>
	                <a href="#">用户协议</a>
	                <a href="#">用户协议</a>
	                <a href="#">服务协议</a>
	            </div>
	            <div class="foot-category-item">
	                <a class="foot-link-title">工具</a>
	                <a href="#">关于链星</a>
	                <a href="#">用户协议</a>
	                <a href="#">用户协议</a>
	                <a href="#">服务协议</a>
	            </div>
	            <div class="foot-category-item">
	                <a class="foot-link-title">声明</a>
	                <a href="#">关于链星</a>
	                <a href="#">用户协议</a>
	                <a href="#">用户协议</a>
	                <a href="#">服务协议</a>
	            </div>
	        </div>
	    </div>
	    <div class="foot-copyright">Copyright © 2019 链星青训 www.lianxing.com 版权所有 {{putOnFileOne}} {{putOnFileTwo}}</div>
	</div>
</template>

<script>
	import {bannerGetAll, informationGetList, getAdminInfo} from '../../api/api/index.js';
	import {baseImgPath, basefile,imgupload} from '@/config/env.js';

	export default {
		data() {
			return {
				infoAddress: "",
				publicImg: "",
				publicName: "",
				putOnFileOne: "",
				putOnFileTwo: ""

			};
		},
		created() {
			// 底部配置
			getAdminInfo().then(res => {
				this.publicName = res.data.publicName
				this.publicImg = res.data.publicImg
				this.infoMail = res.data.infoMail
				this.putOnFileOne = res.data.putOnFileOne
				this.putOnFileTwo = res.data.putOnFileTwo
			});
		},
		filters: {
			filtersImg: function (img) {
				return basefile + img
			},
		},
	}
</script>

<style scoped>

</style>
